package com.atmilan.quartz.model.entity.delloglio;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * Delloglio商品数据源sku
 * </p>
 *
 * @author wuzp
 * @since 2021-10-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("delloglio_product_sku")
@ApiModel(value="DelloglioProductSku对象", description="Delloglio商品数据源sku")
public class DelloglioProductSku extends Model<DelloglioProductSku> {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "商品id")
    private String productId;

    @ApiModelProperty(value = "sku id")
    private String itemId;

    @ApiModelProperty(value = "尺码")
    private String itemSize;

    @ApiModelProperty(value = "尺码类型")
    private String sizeType;

    @ApiModelProperty(value = "barcode")
    private String barcode;

    @ApiModelProperty(value = "原价")
    private String marketPrice;

    @ApiModelProperty(value = "销售价")
    private String sellPrice;

    @ApiModelProperty(value = "成本价")
    private String supplyPrice;

    @ApiModelProperty(value = "颜色")
    private String color;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "item详情")
    private String itemDetail;

    @ApiModelProperty(value = "库存")
    private String stock;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
